<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	request.setCharacterEncoding("utf-8");
	response.setCharacterEncoding("utf-8");
%>
<%@ page import="java.util.List" %>
<%@ page import="RestrantRecommend.shop" %> 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>餐饮推荐</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
  </head>
  
  <body>
    <div class="tab-content">
				<ul class="small-thumb">
				  <%
                   List<shop> shops=(List)request.getAttribute("shops");
                   for(shop s:shops){
                %> 
					<li><a href="s.getShopurl()"><img class="shop" src="<%=s.getImgurl()%>"
							alt="" width=150 height=120 border=0/> </a>
						<div class="entry">
							<h6>
								<a href="<%=s.getShopurl()%>"><%=s.getShopname() %></a>
							</h6>
							<div class="shopplaceL">
								<span>口味</span><b><%=s.getTaste()%>分</b> <span>环境</span><b><%=s.getEnvironment()%>分</b> <span>服务</span><b><%=s.getService()%>分</b>

							</div>
							<div class="shopinfo">
								<a class="post-date"><span>人均消费</span> | <b><%=s.getPrice()%>元</b>     &nbsp&nbsp<span>评价人数</span> | <b><%=(int)s.getComment()%>人</b></a>
							</div>
							<!--/ .entry-meta-->

							<div class="shopplaceR">
								<a class="post-date"><span>地理位置</span> | <%=s.getDistrict()%></a>
							</div>
							<!--/ .entry-meta-->
							<!--/ .entry-meta-->
							<div class="shop">
								<a class="post-date"><span>详细地址</span> | <%=s.getAdress()%></a>
							</div>
							<!--/ .entry-meta-->
						</div> <!--/ .entry-->
						<div class="clear"></div></li> 
			<%
                }
                 %> 
				</ul>
			</div>
  </body>
</html>
